#ifndef VIEW_POINT_H
#define VIEW_POINT_H
#include <qstring.h>
#include "Def.h"

struct SDK_EXPORT_API Viewpoint
{
	static Viewpoint fromString(const QString& string);
	
	Viewpoint();
	Viewpoint(const Viewpoint& rhs);
	~Viewpoint();

	QString toString()const;
	bool isValid()const;

	QString name;
	double lon,lat,alt;
	double heading,pitch,distance = 0.0;
};

#endif
